package com.niiwoo.civet.user.service;

import com.niiwoo.civet.user.dto.request.FaceIdVerifyReqDTO;
import com.niiwoo.civet.user.dto.request.FacePlusPortraitAuthRequestDTO;
import com.niiwoo.civet.user.dto.response.FacePlusPortraitAuthResponseDTO;
import com.niiwoo.civet.user.dto.response.FacePlusRespDTO;

public interface FacePlusPortraitAuthDubboService {

    /**
     * 认证
     * @param reqDTO
     * @return
     */
    FacePlusRespDTO faceIdAuthVerify(FaceIdVerifyReqDTO reqDTO);

    /**
     * 保存肖像认证信息
     * @param requestDTO
     * @return
     */
    default FacePlusPortraitAuthResponseDTO saveAuthInfo(FacePlusPortraitAuthRequestDTO requestDTO) {
        return null;
    }

    /**
     * 发起肖像认证
     * @param requestDTO
     * @return
     */
    default FacePlusPortraitAuthResponseDTO auth(FacePlusPortraitAuthRequestDTO requestDTO) {
        return null;
    }

    /**
     * 使未认证的肖像认证信息失效
     * @param requestDTO
     * @return
     */
    default boolean invalidateUnAuthInfo(FacePlusPortraitAuthRequestDTO requestDTO) {
        return false;
    }

    /**
     *
     * @param requestDTO
     * @return
     */
    default FacePlusPortraitAuthResponseDTO getAuthInfo(FacePlusPortraitAuthRequestDTO requestDTO) {
        return null;
    }



}
